package entity;

import org.springframework.stereotype.Component;

/**
 * 视频的分类实体类，在用户添加的时候可以选择
 * @author Administrator
 *
 */
@Component
public class Category {

	private int id;   //编号
	private String name;   //视频分类的名称
	private int parentId;  //父类的编号，由于简化一、二级分类，用同一张表存储
	private String remark; //备注
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
